<?php
require('system-config.php');

validateToken($_POST['token'] , 'adminip.php');

add_admin_ip($_POST['ip']);

header("Location: settings.php");
?>